//
//  SyncViewController.h
//  Gradekeeper0.2
//
//  Created by Myat Thu on 09-11-24.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface SyncViewController : UIViewController {
	IBOutlet UITextField *usrnameInput;
	IBOutlet UITextField *passwrdInput;
	IBOutlet UILabel *greeting; // to test connection with web service
	IBOutlet UIActivityIndicatorView *loginIndicator;
	IBOutlet UIButton *loginButton;
	NSMutableData *webData;
	NSMutableString *soapResults;
	NSXMLParser *xmlParser;
	BOOL recordResults;
}

@property(nonatomic, retain) IBOutlet UITextField *usrnameInput;
@property(nonatomic, retain) IBOutlet UITextField *passwrdInput;
@property(nonatomic, retain) IBOutlet UILabel *greeting;
@property (nonatomic, retain) UIActivityIndicatorView *loginIndicator;
@property (nonatomic, retain) UIButton *loginButton;
@property(nonatomic, retain) NSMutableData *webData;
@property(nonatomic, retain) NSMutableString *soapResults;
@property(nonatomic, retain) NSXMLParser *xmlParser;

-(IBAction)buttonClick: (id) sender;

@end
